package cn.zyp.stusystem.service;

import cn.zyp.stusystem.entity.GradeClass;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface ClassService extends IService<GradeClass> {
    //根据年级查询班级
    public List<GradeClass> findClassByGradeId(Integer gradeId);

    //查询班级是否还有学生
    public boolean isClassHasStudent(Integer classId);
}
